// 设置过渡
function start() {
	var ks1 = document.getElementById('ks1');
	var ks2 = document.getElementById('ks2')
	ks1.style.opacity = 0;
	ks2.style.opacity = 0;
	ks1.style.transition = "1s";
	ks2.style.transition = "1s";
	setTimeout('input()', 1000)
}
var n = 0;
function input() {
	// 你要是进来看，那我也没办法了  ~、~
	// 我只能在道德层面谴责你了 =.=
	var name = prompt("计算机科学导论老师叫什么？？？(中文，两个字*-*)");
	if (name == "师斌") {
		alert("Welcome!");
		window.location.href = "HTML/homepage.html"
	} else {
		n += 1
		if (n == 1) {
			alert("你不对劲！")
			input()
		} else if (n == 2) {
			alert("梅开二度！！")
			input()
		} else if (n == 3) {
			alert("事不过三！！！")
			input()
		} else if (n == 4) {
			alert("拜拜吧您嘞！！！！")
			window.close("file:///C:/Users/ThinkPad/Desktop/HTML/HTML/start.html", "_self");
		}
	}
}
